package com.foeye.ws.server.service.impl;

import com.foeye.ws.server.entity.User;
import com.foeye.ws.server.service.HelloWorld;

public class HelloWorldImpl implements HelloWorld {

	@Override
	public String sayHello() {
		System.out.println("Hello World ! " + "\n" + "This is Server console!");
		return "Hello World !";
	}

	@Override
	public User getUser(String id) {
		User user = new User();
		user.setId(id);
		user.setName("Ryan");
		user.setAge(22);
		return user;
	}

}
